package de.fhkl.strokeprotocol.messages;

import java.util.UUID;

/**
 * Message that indicates that a new recording started.
 */
public class RecordingStartsMessage implements IMessage
{
	private static final long serialVersionUID = -42694048455151295L;

	/** ID of the recording */
	private UUID mRecordingId;

	/**
	 * Message that indicates that a new recording started.
	 * 
	 * @param recordingId
	 */
	public RecordingStartsMessage(UUID recordingId)
	{
		mRecordingId = recordingId;
	}

	/**
	 * Returns the ID of the correspondent recording.
	 * 
	 * @return
	 */
	public UUID getRecordingId()
	{
		return mRecordingId;
	}

	/**
	 * Sets the ID of the correspondent recording.
	 * 
	 * @param recordingId
	 */
	public void setRecordingId(UUID recordingId)
	{
		mRecordingId = recordingId;
	}
}
